<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
	<script>
	var js = document.createElement("script");
	document.getElementsByTagName("head")[0].appendChild(js);
	js.src = 'http://code.jquery.com/jquery-1.4.2.js';
	</script>

	<script type="text/javascript">
	alert($)
	</script>
</body>
</html>